home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| unified diff output text
| default (weak)
| |
99%
| file
| RFC 822 mail text
| default
| |
98%
| file
| C source, ASCII text
| default
| |
100%
| TrID
| E-Mail message (Var. 5)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/rfc822
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 52 65 63 65 69 76 65 64 | 3a 20 66 72 6f 6d 20 31 |Received|: from 1|
|00000010| 32 38 2e 31 34 30 2e 31 | 2e 31 20 62 79 20 65 65 |28.140.1|.1 by ee|
|00000020| 2e 6c 62 6c 2e 67 6f 76 | 20 66 6f 72 20 3c 76 65 |.lbl.gov| for <ve|
|00000030| 72 6e 40 65 65 2e 6c 62 | 6c 2e 67 6f 76 3e 20 28 |rn@ee.lb|l.gov> (|
|00000040| 38 2e 36 2e 39 2f 31 2e | 34 33 72 29 0a 09 69 64 |8.6.9/1.|43r)..id|
|00000050| 20 48 41 41 30 31 31 39 | 33 3b 20 54 68 75 2c 20 | HAA0119|3; Thu, |
|00000060| 32 39 20 53 65 70 20 31 | 39 39 34 20 30 37 3a 32 |29 Sep 1|994 07:2|
|00000070| 36 3a 35 34 20 2d 30 37 | 30 30 0a 52 65 63 65 69 |6:54 -07|00.Recei|
|00000080| 76 65 64 3a 20 66 72 6f | 6d 20 6c 61 72 72 79 2d |ved: fro|m larry-|
|00000090| 6c 65 30 2e 63 63 2e 65 | 6d 6f 72 79 2e 65 64 75 |le0.cc.e|mory.edu|
|000000a0| 20 62 79 0a 09 65 6d 6f | 72 79 75 31 2e 63 63 2e | by..emo|ryu1.cc.|
|000000b0| 65 6d 6f 72 79 2e 65 64 | 75 20 28 35 2e 36 35 2f |emory.ed|u (5.65/|
|000000c0| 45 6d 6f 72 79 5f 63 63 | 2e 34 2e 30 2e 31 29 20 |Emory_cc|.4.0.1) |
|000000d0| 76 69 61 20 53 4d 54 50 | 0a 09 69 64 20 41 41 30 |via SMTP|..id AA0|
|000000e0| 37 32 39 32 20 3b 20 54 | 68 75 2c 20 32 39 20 53 |7292 ; T|hu, 29 S|
|000000f0| 65 70 20 39 34 20 31 30 | 3a 32 36 3a 34 31 20 2d |ep 94 10|:26:41 -|
|00000100| 30 34 30 30 0a 46 72 6f | 6d 3a 20 74 6b 61 6e 65 |0400.Fro|m: tkane|
|00000110| 30 31 40 75 6e 69 78 2e | 63 63 2e 65 6d 6f 72 79 |01@unix.|cc.emory|
|00000120| 2e 65 64 75 20 28 54 65 | 72 72 65 6e 63 65 20 4f |.edu (Te|rrence O|
|00000130| 20 4b 61 6e 65 29 0a 52 | 65 63 65 69 76 65 64 3a | Kane).R|eceived:|
|00000140| 20 62 79 20 6c 61 72 72 | 79 2e 63 63 2e 65 6d 6f | by larr|y.cc.emo|
|00000150| 72 79 2e 65 64 75 20 28 | 35 2e 30 29 20 69 64 20 |ry.edu (|5.0) id |
|00000160| 41 41 31 31 37 35 37 3b | 20 54 68 75 2c 20 32 39 |AA11757;| Thu, 29|
|00000170| 20 53 65 70 20 31 39 39 | 34 20 31 30 3a 32 36 3a | Sep 199|4 10:26:|
|00000180| 34 33 20 2b 30 35 30 30 | 0a 4d 65 73 73 61 67 65 |43 +0500|.Message|
|00000190| 2d 49 64 3a 20 3c 39 34 | 30 39 32 39 31 34 32 36 |-Id: <94|09291426|
|000001a0| 2e 41 41 31 31 37 35 37 | 40 6c 61 72 72 79 2e 63 |.AA11757|@larry.c|
|000001b0| 63 2e 65 6d 6f 72 79 2e | 65 64 75 3e 0a 53 75 62 |c.emory.|edu>.Sub|
|000001c0| 6a 65 63 74 3a 20 70 61 | 74 63 68 65 73 20 61 6e |ject: pa|tches an|
|000001d0| 64 20 6d 61 6b 65 66 69 | 6c 65 20 66 6f 72 20 42 |d makefi|le for B|
|000001e0| 6f 72 6c 61 6e 64 20 43 | 20 34 2e 30 32 2c 20 66 |orland C| 4.02, f|
|000001f0| 6c 65 78 20 32 2e 34 2e | 37 0a 54 6f 3a 20 76 65 |lex 2.4.|7.To: ve|
|00000200| 72 6e 40 65 65 2e 6c 62 | 6c 2e 67 6f 76 0a 44 61 |rn@ee.lb|l.gov.Da|
|00000210| 74 65 3a 20 54 68 75 2c | 20 32 39 20 53 65 70 20 |te: Thu,| 29 Sep |
|00000220| 31 39 39 34 20 31 30 3a | 32 36 3a 34 32 20 2d 30 |1994 10:|26:42 -0|
|00000230| 34 30 30 20 28 45 44 54 | 29 0a 58 2d 4d 61 69 6c |400 (EDT|).X-Mail|
|00000240| 65 72 3a 20 45 4c 4d 20 | 5b 76 65 72 73 69 6f 6e |er: ELM |[version|
|00000250| 20 32 2e 34 20 50 4c 32 | 33 5d 0a 4d 69 6d 65 2d | 2.4 PL2|3].Mime-|
|00000260| 56 65 72 73 69 6f 6e 3a | 20 31 2e 30 0a 43 6f 6e |Version:| 1.0.Con|
|00000270| 74 65 6e 74 2d 54 79 70 | 65 3a 20 74 65 78 74 2f |tent-Typ|e: text/|
|00000280| 70 6c 61 69 6e 3b 20 63 | 68 61 72 73 65 74 3d 55 |plain; c|harset=U|
|00000290| 53 2d 41 53 43 49 49 0a | 43 6f 6e 74 65 6e 74 2d |S-ASCII.|Content-|
|000002a0| 54 72 61 6e 73 66 65 72 | 2d 45 6e 63 6f 64 69 6e |Transfer|-Encodin|
|000002b0| 67 3a 20 37 62 69 74 0a | 43 6f 6e 74 65 6e 74 2d |g: 7bit.|Content-|
|000002c0| 4c 65 6e 67 74 68 3a 20 | 39 39 30 30 20 20 20 20 |Length: |9900 |
|000002d0| 20 20 0a 0a 45 6e 63 6c | 6f 73 65 64 20 61 72 65 | ..Encl|osed are|
|000002e0| 20 75 6e 69 66 69 65 64 | 20 64 69 66 66 73 20 61 | unified| diffs a|
|000002f0| 6e 64 20 61 20 6d 61 6b | 65 66 69 6c 65 20 66 6f |nd a mak|efile fo|
|00000300| 72 20 42 6f 72 6c 61 6e | 64 20 34 2e 30 32 0a 0a |r Borlan|d 4.02..|
|00000310| 54 68 65 20 63 68 61 6e | 67 65 73 20 69 6e 20 74 |The chan|ges in t|
|00000320| 68 65 20 65 6e 63 6c 6f | 73 65 64 20 61 72 65 20 |he enclo|sed are |
|00000330| 31 29 20 6d 61 6b 65 20 | 74 68 65 20 73 69 7a 65 |1) make |the size|
|00000340| 20 70 61 72 61 6d 65 74 | 65 72 73 20 66 6f 72 20 | paramet|ers for |
|00000350| 6d 65 6d 6f 72 79 0a 61 | 6c 6c 6f 63 61 74 69 6f |memory.a|llocatio|
|00000360| 6e 20 22 73 69 7a 65 5f | 74 22 2c 20 32 29 20 63 |n "size_|t", 2) c|
|00000370| 68 61 6e 67 65 20 61 6e | 20 69 6e 63 6c 75 64 65 |hange an| include|
|00000380| 20 66 69 6c 65 20 77 68 | 65 6e 20 74 68 65 20 6c | file wh|en the l|
|00000390| 65 78 65 72 20 69 73 20 | 0a 63 6f 6d 70 69 6c 65 |exer is |.compile|
|000003a0| 64 20 77 69 74 68 69 6e | 20 27 65 78 74 65 72 6e |d within| 'extern|
|000003b0| 20 22 43 22 20 7b 2e 2e | 2e 7d 27 20 69 6e 20 61 | "C" {..|.}' in a|
|000003c0| 20 43 2b 2b 20 66 69 6c | 65 2c 20 61 6e 64 20 33 | C++ fil|e, and 3|
|000003d0| 29 20 69 6e 63 6c 75 64 | 65 20 70 72 61 67 6d 61 |) includ|e pragma|
|000003e0| 73 20 0a 69 6e 20 74 68 | 65 20 68 65 61 64 65 72 |s .in th|e header|
|000003f0| 20 73 75 69 74 61 62 6c | 65 20 66 6f 72 20 42 43 | suitabl|e for BC|
|00000400| 43 20 34 2e 30 32 20 74 | 6f 20 68 75 73 68 20 6f |C 4.02 t|o hush o|
|00000410| 6e 20 77 61 72 6e 69 6e | 67 73 2e 0a 0a 54 68 65 |n warnin|gs...The|
|00000420| 20 6c 61 74 74 65 72 20 | 69 73 20 64 6f 6e 65 20 | latter |is done |
|00000430| 62 65 63 61 75 73 65 20 | 6f 66 20 74 68 65 20 6c |because |of the l|
|00000440| 69 6d 69 74 20 6f 6e 20 | 63 6f 6d 6d 61 6e 64 20 |imit on |command |
|00000450| 6c 69 6e 65 20 73 69 7a | 65 2e 20 20 41 20 74 72 |line siz|e. A tr|
|00000460| 61 64 65 6f 66 66 20 0a | 65 78 69 73 74 73 20 62 |adeoff .|exists b|
|00000470| 65 74 77 65 65 6e 20 70 | 75 74 74 69 6e 67 20 70 |etween p|utting p|
|00000480| 72 61 67 6d 61 73 20 69 | 6e 20 74 68 65 20 68 65 |ragmas i|n the he|
|00000490| 61 64 65 72 2c 20 6f 72 | 20 23 64 65 66 69 6e 65 |ader, or| #define|
|000004a0| 73 20 69 6e 20 74 68 65 | 20 68 65 61 64 65 72 20 |s in the| header |
|000004b0| 2d 20 0a 49 20 70 75 74 | 20 69 6e 20 74 68 65 20 |- .I put| in the |
|000004c0| 70 72 61 67 6d 61 73 20 | 73 69 6e 63 65 20 74 68 |pragmas |since th|
|000004d0| 65 79 27 72 65 20 73 75 | 70 70 6f 65 64 20 74 6f |ey're su|ppoed to|
|000004e0| 20 62 65 20 69 67 6e 6f | 72 65 64 20 75 6e 6c 65 | be igno|red unle|
|000004f0| 73 73 20 0a 75 6e 64 65 | 72 73 74 6f 6f 64 20 2d |ss .unde|rstood -|
|00000500| 20 2a 61 6e 64 2a 20 74 | 68 65 79 27 72 65 20 65 | *and* t|hey're e|
|00000510| 6e 63 6c 6f 73 65 64 20 | 69 6e 20 42 43 43 20 73 |nclosed |in BCC s|
|00000520| 70 65 63 69 66 69 63 20 | 69 66 64 65 66 73 2c 20 |pecific |ifdefs, |
|00000530| 61 6e 79 77 61 79 2e 0a | 0a 41 6c 6c 20 63 68 61 |anyway..|.All cha|
|00000540| 6e 67 65 73 20 61 72 65 | 20 65 6e 63 6c 6f 73 65 |nges are| enclose|
|00000550| 64 20 69 6e 20 22 23 69 | 66 64 65 66 20 5f 5f 42 |d in "#i|fdef __B|
|00000560| 4f 52 4c 41 4e 44 43 5f | 5f 22 2e 0a 0a 0a 0a 0a |ORLANDC_|_"......|
|00000570| 0a 2d 2d 2d 20 6d 69 73 | 63 2e 63 09 54 75 65 20 |.--- mis|c.c.Tue |
|00000580| 4a 61 6e 20 30 34 20 31 | 34 3a 33 33 3a 31 30 20 |Jan 04 1|4:33:10 |
|00000590| 31 39 39 34 0a 2b 2b 2b | 20 2e 2e 2f 6d 69 73 63 |1994.+++| ../misc|
|000005a0| 2e 63 09 57 65 64 20 53 | 65 70 20 32 38 20 31 38 |.c.Wed S|ep 28 18|
|000005b0| 3a 34 34 3a 33 32 20 31 | 39 39 34 0a 40 40 20 2d |:44:32 1|994.@@ -|
|000005c0| 35 35 2c 31 35 20 2b 35 | 35 2c 31 39 20 40 40 0a |55,15 +5|5,19 @@.|
|000005d0| 20 09 61 63 74 69 6f 6e | 5f 69 6e 64 65 78 20 2b | .action|_index +|
|000005e0| 3d 20 6c 65 6e 3b 0a 20 | 09 7d 0a 20 0a 20 0a 20 |= len;. |.}. . . |
|000005f0| 2f 2a 20 61 6c 6c 6f 63 | 61 74 65 5f 61 72 72 61 |/* alloc|ate_arra|
|00000600| 79 20 2d 20 61 6c 6c 6f | 63 61 74 65 20 6d 65 6d |y - allo|cate mem|
|00000610| 6f 72 79 20 66 6f 72 20 | 61 6e 20 69 6e 74 65 67 |ory for |an integ|
|00000620| 65 72 20 61 72 72 61 79 | 20 6f 66 20 74 68 65 20 |er array| of the |
|00000630| 67 69 76 65 6e 20 73 69 | 7a 65 20 2a 2f 0a 20 0a |given si|ze */. .|
|00000640| 20 76 6f 69 64 20 2a 61 | 6c 6c 6f 63 61 74 65 5f | void *a|llocate_|
|00000650| 61 72 72 61 79 28 20 73 | 69 7a 65 2c 20 65 6c 65 |array( s|ize, ele|
|00000660| 6d 65 6e 74 5f 73 69 7a | 65 20 29 0a 2b 23 69 66 |ment_siz|e ).+#if|
|00000670| 6e 64 65 66 20 5f 5f 42 | 4f 52 4c 41 4e 44 43 5f |ndef __B|ORLANDC_|
|00000680| 5f 0a 20 69 6e 74 20 73 | 69 7a 65 2c 20 65 6c 65 |_. int s|ize, ele|
|00000690| 6d 65 6e 74 5f 73 69 7a | 65 3b 0a 2b 23 65 6c 73 |ment_siz|e;.+#els|
|000006a0| 65 20 2f 2a 20 5f 5f 42 | 4f 52 4c 41 4e 44 43 5f |e /* __B|ORLANDC_|
|000006b0| 5f 20 2a 2f 0a 2b 73 69 | 7a 65 5f 74 20 73 69 7a |_ */.+si|ze_t siz|
|000006c0| 65 2c 20 65 6c 65 6d 65 | 6e 74 5f 73 69 7a 65 3b |e, eleme|nt_size;|
|000006d0| 0a 2b 23 65 6e 64 69 66 | 20 2f 2a 20 5f 5f 42 4f |.+#endif| /* __BO|
|000006e0| 52 4c 41 4e 44 43 5f 5f | 20 2a 2f 0a 20 09 7b 0a |RLANDC__| */. .{.|
|000006f0| 20 09 72 65 67 69 73 74 | 65 72 20 76 6f 69 64 20 | .regist|er void |
|00000700| 2a 6d 65 6d 3b 0a 20 0a | 20 09 2f 2a 20 4f 6e 20 |*mem;. .| ./* On |
|00000710| 31 36 2d 62 69 74 20 69 | 6e 74 20 6d 61 63 68 69 |16-bit i|nt machi|
|00000720| 6e 65 73 20 28 65 2e 67 | 2e 2c 20 38 30 32 38 36 |nes (e.g|., 80286|
|00000730| 29 20 77 65 20 6d 69 67 | 68 74 20 62 65 20 74 72 |) we mig|ht be tr|
|00000740| 79 69 6e 67 20 74 6f 0a | 20 09 20 2a 20 61 6c 6c |ying to.| . * all|
|00000750| 6f 63 61 74 65 20 6d 6f | 72 65 20 74 68 61 6e 20 |ocate mo|re than |
|00000760| 61 20 73 69 67 6e 65 64 | 20 69 6e 74 20 63 61 6e |a signed| int can|
|00000770| 20 68 6f 6c 64 2c 20 61 | 6e 64 20 74 68 61 74 20 | hold, a|nd that |
|00000780| 77 6f 6e 27 74 0a 20 09 | 20 2a 20 77 6f 72 6b 2e |won't. .| * work.|
|00000790| 20 20 43 68 65 61 70 20 | 74 65 73 74 3a 0a 20 09 | Cheap |test:. .|
|000007a0| 20 2a 2f 0a 40 40 20 2d | 36 33 34 2c 31 35 20 2b | */.@@ -|634,15 +|
|000007b0| 36 33 38 2c 31 39 20 40 | 40 0a 20 09 7d 0a 20 0a |638,19 @|@. .}. .|
|000007c0| 20 0a 20 2f 2a 20 72 65 | 61 6c 6c 6f 63 61 74 65 | . /* re|allocate|
|000007d0| 5f 61 72 72 61 79 20 2d | 20 69 6e 63 72 65 61 73 |_array -| increas|
|000007e0| 65 20 74 68 65 20 73 69 | 7a 65 20 6f 66 20 61 20 |e the si|ze of a |
|000007f0| 64 79 6e 61 6d 69 63 20 | 61 72 72 61 79 20 2a 2f |dynamic |array */|
|00000800| 0a 20 0a 20 76 6f 69 64 | 20 2a 72 65 61 6c 6c 6f |. . void| *reallo|
|00000810| 63 61 74 65 5f 61 72 72 | 61 79 28 20 61 72 72 61 |cate_arr|ay( arra|
|00000820| 79 2c 20 73 69 7a 65 2c | 20 65 6c 65 6d 65 6e 74 |y, size,| element|
|00000830| 5f 73 69 7a 65 20 29 0a | 20 76 6f 69 64 20 2a 61 |_size ).| void *a|
|00000840| 72 72 61 79 3b 0a 2b 23 | 69 66 6e 64 65 66 20 5f |rray;.+#|ifndef _|
|00000850| 5f 42 4f 52 4c 41 4e 44 | 43 5f 5f 0a 20 69 6e 74 |_BORLAND|C__. int|
|00000860| 20 73 69 7a 65 2c 20 65 | 6c 65 6d 65 6e 74 5f 73 | size, e|lement_s|
|00000870| 69 7a 65 3b 0a 2b 23 65 | 6c 73 65 20 2f 2a 20 5f |ize;.+#e|lse /* _|
|00000880| 5f 42 4f 52 4c 41 4e 44 | 43 5f 5f 20 2a 2f 0a 2b |_BORLAND|C__ */.+|
|00000890| 73 69 7a 65 5f 74 20 73 | 69 7a 65 2c 20 65 6c 65 |size_t s|ize, ele|
|000008a0| 6d 65 6e 74 5f 73 69 7a | 65 3b 0a 2b 23 65 6e 64 |ment_siz|e;.+#end|
|000008b0| 69 66 20 2f 2a 20 5f 5f | 42 4f 52 4c 41 4e 44 43 |if /* __|BORLANDC|
|000008c0| 5f 5f 20 2a 2f 0a 20 09 | 7b 0a 20 09 72 65 67 69 |__ */. .|{. .regi|
|000008d0| 73 74 65 72 20 76 6f 69 | 64 20 2a 6e 65 77 5f 61 |ster voi|d *new_a|
|000008e0| 72 72 61 79 3b 0a 20 0a | 20 09 2f 2a 20 53 61 6d |rray;. .| ./* Sam|
|000008f0| 65 20 77 6f 72 72 79 20 | 61 73 20 69 6e 20 61 6c |e worry |as in al|
|00000900| 6c 6f 63 61 74 65 5f 61 | 72 72 61 79 28 29 3a 20 |locate_a|rray(): |
|00000910| 2a 2f 0a 20 09 69 66 20 | 28 20 73 69 7a 65 20 2a |*/. .if |( size *|
|00000920| 20 65 6c 65 6d 65 6e 74 | 5f 73 69 7a 65 20 3c 3d | element|_size <=|
|00000930| 20 30 20 29 0a 20 09 09 | 66 6c 65 78 66 61 74 61 | 0 ). ..|flexfata|
|00000940| 6c 28 0a 20 09 09 09 22 | 61 74 74 65 6d 70 74 20 |l(. ..."|attempt |
|00000950| 74 6f 20 69 6e 63 72 65 | 61 73 65 20 61 72 72 61 |to incre|ase arra|
|00000960| 79 20 73 69 7a 65 20 62 | 79 20 6c 65 73 73 20 74 |y size b|y less t|
|00000970| 68 61 6e 20 31 20 62 79 | 74 65 22 20 29 3b 0a 40 |han 1 by|te" );.@|
|00000980| 40 20 2d 37 33 39 2c 31 | 35 20 2b 37 34 37 2c 31 |@ -739,1|5 +747,1|
|00000990| 39 20 40 40 0a 20 09 7d | 0a 20 0a 20 0a 20 2f 2a |9 @@. .}|. . . /*|
|000009a0| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 69 | The fol|lowing i|
|000009b0| 73 20 6f 6e 6c 79 20 6e | 65 65 64 65 64 20 77 68 |s only n|eeded wh|
|000009c0| 65 6e 20 62 75 69 6c 64 | 69 6e 67 20 66 6c 65 78 |en build|ing flex|
|000009d0| 27 73 20 70 61 72 73 65 | 72 20 75 73 69 6e 67 20 |'s parse|r using |
|000009e0| 63 65 72 74 61 69 6e 0a | 20 20 2a 20 62 72 6f 6b |certain.| * brok|
|000009f0| 65 6e 20 76 65 72 73 69 | 6f 6e 73 20 6f 66 20 62 |en versi|ons of b|
|00000a00| 69 73 6f 6e 2e 0a 20 20 | 2a 2f 0a 20 76 6f 69 64 |ison.. |*/. void|
|00000a10| 20 2a 79 79 5f 66 6c 65 | 78 5f 78 6d 61 6c 6c 6f | *yy_fle|x_xmallo|
|00000a20| 63 28 20 73 69 7a 65 20 | 29 0a 2b 23 69 66 6e 64 |c( size |).+#ifnd|
|00000a30| 65 66 20 5f 5f 42 4f 52 | 4c 41 4e 44 43 5f 5f 0a |ef __BOR|LANDC__.|
|00000a40| 20 69 6e 74 20 73 69 7a | 65 3b 0a 2b 23 65 6c 73 | int siz|e;.+#els|
|00000a50| 65 20 2f 2a 20 5f 5f 42 | 4f 52 4c 41 4e 44 43 5f |e /* __B|ORLANDC_|
|00000a60| 5f 20 2a 2f 0a 2b 73 69 | 7a 65 5f 74 20 73 69 7a |_ */.+si|ze_t siz|
|00000a70| 65 3b 0a 2b 23 65 6e 64 | 69 66 20 2f 2a 20 5f 5f |e;.+#end|if /* __|
|00000a80| 42 4f 52 4c 41 4e 44 43 | 5f 5f 20 2a 2f 0a 20 09 |BORLANDC|__ */. .|
|00000a90| 7b 0a 20 09 76 6f 69 64 | 20 2a 72 65 73 75 6c 74 |{. .void| *result|
|00000aa0| 20 3d 20 66 6c 65 78 5f | 61 6c 6c 6f 63 28 20 73 | = flex_|alloc( s|
|00000ab0| 69 7a 65 20 29 3b 0a 20 | 0a 20 09 69 66 20 28 20 |ize );. |. .if ( |
|00000ac0| 21 20 72 65 73 75 6c 74 | 20 20 29 0a 20 09 09 66 |! result| ). ..f|
|00000ad0| 6c 65 78 66 61 74 61 6c | 28 20 22 6d 65 6d 6f 72 |lexfatal|( "memor|
|00000ae0| 79 20 61 6c 6c 6f 63 61 | 74 69 6f 6e 20 66 61 69 |y alloca|tion fai|
|00000af0| 6c 65 64 20 69 6e 20 79 | 79 5f 66 6c 65 78 5f 78 |led in y|y_flex_x|
|00000b00| 6d 61 6c 6c 6f 63 28 29 | 22 20 29 3b 0a 20 0a 20 |malloc()|" );. . |
|00000b10| 09 72 65 74 75 72 6e 20 | 72 65 73 75 6c 74 3b 0a |.return |result;.|
|00000b20| 0a 0a 0a 0a 0a 2d 2d 2d | 20 73 6b 65 6c 2e 63 09 |.....---| skel.c.|
|00000b30| 57 65 64 20 41 75 67 20 | 30 33 20 31 31 3a 33 38 |Wed Aug |03 11:38|
|00000b40| 3a 33 32 20 31 39 39 34 | 0a 2b 2b 2b 20 2e 2e 2f |:32 1994|.+++ ../|
|00000b50| 73 6b 65 6c 2e 63 09 57 | 65 64 20 53 65 70 20 32 |skel.c.W|ed Sep 2|
|00000b60| 38 20 31 38 3a 35 30 3a | 35 38 20 31 39 39 34 0a |8 18:50:|58 1994.|
|00000b70| 40 40 20 2d 32 36 2c 31 | 35 20 2b 32 36 2c 31 39 |@@ -26,1|5 +26,19|
|00000b80| 20 40 40 0a 20 20 20 22 | 22 2c 0a 20 20 20 22 23 | @@. "|",. "#|
|00000b90| 69 66 64 65 66 20 5f 5f | 63 70 6c 75 73 70 6c 75 |ifdef __|cplusplu|
|00000ba0| 73 22 2c 0a 20 20 20 22 | 22 2c 0a 20 20 20 22 23 |s",. "|",. "#|
|00000bb0| 69 6e 63 6c 75 64 65 20 | 3c 73 74 64 6c 69 62 2e |include |<stdlib.|
|00000bc0| 68 3e 22 2c 0a 20 20 20 | 22 25 2b 22 2c 0a 20 20 |h>",. |"%+",. |
|00000bd0| 20 22 63 6c 61 73 73 20 | 69 73 74 72 65 61 6d 3b | "class |istream;|
|00000be0| 22 2c 0a 20 20 20 22 25 | 2a 22 2c 0a 2b 20 20 22 |",. "%|*",.+ "|
|00000bf0| 23 69 66 6e 64 65 66 20 | 5f 5f 42 4f 52 4c 41 4e |#ifndef |__BORLAN|
|00000c00| 44 43 5f 5f 22 2c 0a 20 | 20 20 22 23 69 6e 63 6c |DC__",. | "#incl|
|00000c10| 75 64 65 20 3c 75 6e 69 | 73 74 64 2e 68 3e 22 2c |ude <uni|std.h>",|
|00000c20| 0a 2b 20 20 22 23 65 6c | 73 65 20 2f 2a 20 5f 5f |.+ "#el|se /* __|
|00000c30| 42 4f 52 4c 41 4e 44 43 | 5f 5f 20 2a 2f 22 2c 0a |BORLANDC|__ */",.|
|00000c40| 2b 20 20 22 23 69 6e 63 | 6c 75 64 65 20 3c 69 6f |+ "#inc|lude <io|
|00000c50| 2e 68 3e 22 2c 0a 2b 20 | 20 22 23 65 6e 64 69 66 |.h>",.+ | "#endif|
|00000c60| 20 2f 2a 20 5f 5f 42 4f | 52 4c 41 4e 44 43 5f 5f | /* __BO|RLANDC__|
|00000c70| 20 2a 2f 22 2c 0a 20 20 | 20 22 22 2c 0a 20 20 20 | */",. | "",. |
|00000c80| 22 2f 2a 20 55 73 65 20 | 70 72 6f 74 6f 74 79 70 |"/* Use |prototyp|
|00000c90| 65 73 20 69 6e 20 66 75 | 6e 63 74 69 6f 6e 20 64 |es in fu|nction d|
|00000ca0| 65 63 6c 61 72 61 74 69 | 6f 6e 73 2e 20 2a 2f 22 |eclarati|ons. */"|
|00000cb0| 2c 0a 20 20 20 22 23 64 | 65 66 69 6e 65 20 59 59 |,. "#d|efine YY|
|00000cc0| 5f 55 53 45 5f 50 52 4f | 54 4f 53 22 2c 0a 20 20 |_USE_PRO|TOS",. |
|00000cd0| 20 22 22 2c 0a 20 20 20 | 22 2f 2a 20 54 68 65 20 | "",. |"/* The |
|00000ce0| 5c 22 63 6f 6e 73 74 5c | 22 20 73 74 6f 72 61 67 |\"const\|" storag|
|00000cf0| 65 2d 63 6c 61 73 73 2d | 6d 6f 64 69 66 69 65 72 |e-class-|modifier|
|00000d00| 20 69 73 20 76 61 6c 69 | 64 2e 20 2a 2f 22 2c 0a | is vali|d. */",.|
|00000d10| 20 20 20 22 23 64 65 66 | 69 6e 65 20 59 59 5f 55 | "#def|ine YY_U|
|00000d20| 53 45 5f 43 4f 4e 53 54 | 22 2c 0a 20 20 20 22 22 |SE_CONST|",. ""|
|00000d30| 2c 0a 40 40 20 2d 32 34 | 30 2c 31 36 20 2b 32 34 |,.@@ -24|0,16 +24|
|00000d40| 34 2c 32 31 20 40 40 0a | 20 20 20 22 73 74 61 74 |4,21 @@.| "stat|
|00000d50| 69 63 20 69 6e 74 20 79 | 79 5f 73 74 61 72 74 5f |ic int y|y_start_|
|00000d60| 73 74 61 63 6b 5f 64 65 | 70 74 68 20 3d 20 30 3b |stack_de|pth = 0;|
|00000d70| 22 2c 0a 20 20 20 22 73 | 74 61 74 69 63 20 69 6e |",. "s|tatic in|
|00000d80| 74 20 2a 79 79 5f 73 74 | 61 72 74 5f 73 74 61 63 |t *yy_st|art_stac|
|00000d90| 6b 20 3d 20 30 3b 22 2c | 0a 20 20 20 22 73 74 61 |k = 0;",|. "sta|
|00000da0| 74 69 63 20 76 6f 69 64 | 20 79 79 5f 70 75 73 68 |tic void| yy_push|
|00000db0| 5f 73 74 61 74 65 20 59 | 59 5f 50 52 4f 54 4f 28 |_state Y|Y_PROTO(|
|00000dc0| 28 20 69 6e 74 20 6e 65 | 77 5f 73 74 61 74 65 20 |( int ne|w_state |
|00000dd0| 29 29 3b 22 2c 0a 20 20 | 20 22 73 74 61 74 69 63 |));",. | "static|
|00000de0| 20 76 6f 69 64 20 79 79 | 5f 70 6f 70 5f 73 74 61 | void yy|_pop_sta|
|00000df0| 74 65 20 59 59 5f 50 52 | 4f 54 4f 28 28 20 76 6f |te YY_PR|OTO(( vo|
|00000e00| 69 64 20 29 29 3b 22 2c | 0a 20 20 20 22 73 74 61 |id ));",|. "sta|
|00000e10| 74 69 63 20 69 6e 74 20 | 79 79 5f 74 6f 70 5f 73 |tic int |yy_top_s|
|00000e20| 74 61 74 65 20 59 59 5f | 50 52 4f 54 4f 28 28 20 |tate YY_|PROTO(( |
|00000e30| 76 6f 69 64 20 29 29 3b | 22 2c 0a 20 20 20 22 25 |void ));|",. "%|
|00000e40| 2a 22 2c 0a 20 20 20 22 | 22 2c 0a 2b 20 20 22 23 |*",. "|",.+ "#|
|00000e50| 69 66 6e 64 65 66 20 5f | 5f 42 4f 52 4c 41 4e 44 |ifndef _|_BORLAND|
|00000e60| 43 5f 5f 22 2c 0a 20 20 | 20 22 73 74 61 74 69 63 |C__",. | "static|
|00000e70| 20 76 6f 69 64 20 2a 79 | 79 5f 66 6c 65 78 5f 61 | void *y|y_flex_a|
|00000e80| 6c 6c 6f 63 20 59 59 5f | 50 52 4f 54 4f 28 28 20 |lloc YY_|PROTO(( |
|00000e90| 75 6e 73 69 67 6e 65 64 | 20 69 6e 74 20 29 29 3b |unsigned| int ));|
|00000ea0| 22 2c 0a 20 20 20 22 73 | 74 61 74 69 63 20 76 6f |",. "s|tatic vo|
|00000eb0| 69 64 20 2a 79 79 5f 66 | 6c 65 78 5f 72 65 61 6c |id *yy_f|lex_real|
|00000ec0| 6c 6f 63 20 59 59 5f 50 | 52 4f 54 4f 28 28 20 76 |loc YY_P|ROTO(( v|
|00000ed0| 6f 69 64 20 2a 2c 20 75 | 6e 73 69 67 6e 65 64 20 |oid *, u|nsigned |
|00000ee0| 69 6e 74 20 29 29 3b 22 | 2c 0a 2b 20 20 22 23 65 |int ));"|,.+ "#e|
|00000ef0| 6c 73 65 20 2f 2a 20 5f | 5f 42 4f 52 4c 41 4e 44 |lse /* _|_BORLAND|
|00000f00| 43 5f 5f 20 2a 2f 22 2c | 0a 2b 20 20 22 73 74 61 |C__ */",|.+ "sta|
|00000f10| 74 69 63 20 76 6f 69 64 | 20 2a 79 79 5f 66 6c 65 |tic void| *yy_fle|
|00000f20| 78 5f 61 6c 6c 6f 63 20 | 59 59 5f 50 52 4f 54 4f |x_alloc |YY_PROTO|
|00000f30| 28 28 20 73 69 7a 65 5f | 74 20 29 29 3b 22 2c 0a |(( size_|t ));",.|
|00000f40| 2b 20 20 22 73 74 61 74 | 69 63 20 76 6f 69 64 20 |+ "stat|ic void |
|00000f50| 2a 79 79 5f 66 6c 65 78 | 5f 72 65 61 6c 6c 6f 63 |*yy_flex|_realloc|
|00000f60| 20 59 59 5f 50 52 4f 54 | 4f 28 28 20 76 6f 69 64 | YY_PROT|O(( void|
|00000f70| 20 2a 2c 20 73 69 7a 65 | 5f 74 20 29 29 3b 22 2c | *, size|_t ));",|
|00000f80| 0a 2b 20 20 22 23 65 6e | 64 69 66 20 2f 2a 20 5f |.+ "#en|dif /* _|
|00000f90| 5f 42 4f 52 4c 41 4e 44 | 43 5f 5f 20 2a 2f 22 2c |_BORLAND|C__ */",|
|00000fa0| 0a 20 20 20 22 73 74 61 | 74 69 63 20 76 6f 69 64 |. "sta|tic void|
|00000fb0| 20 79 79 5f 66 6c 65 78 | 5f 66 72 65 65 20 59 59 | yy_flex|_free YY|
|00000fc0| 5f 50 52 4f 54 4f 28 28 | 20 76 6f 69 64 20 2a 20 |_PROTO((| void * |
|00000fd0| 29 29 3b 22 2c 0a 20 20 | 20 22 22 2c 0a 20 20 20 |));",. | "",. |
|00000fe0| 22 23 64 65 66 69 6e 65 | 20 79 79 5f 6e 65 77 5f |"#define| yy_new_|
|00000ff0| 62 75 66 66 65 72 20 79 | 79 5f 63 72 65 61 74 65 |buffer y|y_create|
|00001000| 5f 62 75 66 66 65 72 22 | 2c 0a 20 20 20 22 22 2c |_buffer"|,. "",|
|00001010| 0a 20 20 20 22 25 25 20 | 79 79 74 65 78 74 2f 79 |. "%% |yytext/y|
|00001020| 79 69 6e 2f 79 79 6f 75 | 74 2f 79 79 5f 73 74 61 |yin/yyou|t/yy_sta|
|00001030| 74 65 5f 74 79 70 65 2f | 79 79 6c 69 6e 65 6e 6f |te_type/|yylineno|
|00001040| 20 65 74 63 2e 20 64 65 | 66 27 73 20 26 20 69 6e | etc. de|f's & in|
|00001050| 69 74 20 67 6f 20 68 65 | 72 65 22 2c 0a 20 20 20 |it go he|re",. |
|00001060| 22 22 2c 0a 20 20 20 22 | 23 69 66 6e 64 65 66 20 |"",. "|#ifndef |
|00001070| 79 79 74 65 78 74 5f 70 | 74 72 22 2c 0a 0a 0a 0a |yytext_p|tr",....|
|00001080| 0a 0a 2d 2d 2d 20 69 6e | 69 74 73 63 61 6e 2e 63 |..--- in|itscan.c|
|00001090| 09 57 65 64 20 41 75 67 | 20 30 33 20 31 31 3a 34 |.Wed Aug| 03 11:4|
|000010a0| 32 3a 34 36 20 31 39 39 | 34 0a 2b 2b 2b 20 2e 2e |2:46 199|4.+++ ..|
|000010b0| 2f 69 6e 69 74 73 63 61 | 6e 2e 63 09 57 65 64 20 |/initsca|n.c.Wed |
|000010c0| 53 65 70 20 32 38 20 31 | 38 3a 35 31 3a 33 34 20 |Sep 28 1|8:51:34 |
|000010d0| 31 39 39 34 0a 40 40 20 | 2d 31 36 2c 31 35 20 2b |1994.@@ |-16,15 +|
|000010e0| 31 36 2c 31 39 20 40 40 | 0a 20 23 65 6e 64 69 66 |16,19 @@|. #endif|
|000010f0| 0a 20 23 65 6e 64 69 66 | 0a 20 0a 20 0a 20 23 69 |. #endif|. . . #i|
|00001100| 66 64 65 66 20 5f 5f 63 | 70 6c 75 73 70 6c 75 73 |fdef __c|plusplus|
|00001110| 0a 20 0a 20 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |. . #inc|lude <st|
|00001120| 64 6c 69 62 2e 68 3e 0a | 2b 23 69 66 6e 64 65 66 |dlib.h>.|+#ifndef|
|00001130| 20 5f 5f 42 4f 52 4c 41 | 4e 44 43 5f 5f 0a 20 23 | __BORLA|NDC__. #|
|00001140| 69 6e 63 6c 75 64 65 20 | 3c 75 6e 69 73 74 64 2e |include |<unistd.|
|00001150| 68 3e 0a 2b 23 65 6c 73 | 65 20 2f 2a 20 5f 5f 42 |h>.+#els|e /* __B|
|00001160| 4f 52 4c 41 4e 44 43 5f | 5f 20 2a 2f 0a 2b 23 69 |ORLANDC_|_ */.+#i|
|00001170| 6e 63 6c 75 64 65 20 3c | 69 6f 2e 68 3e 0a 2b 23 |nclude <|io.h>.+#|
|00001180| 65 6e 64 69 66 20 2f 2a | 20 5f 5f 42 4f 52 4c 41 |endif /*| __BORLA|
|00001190| 4e 44 43 5f 5f 20 2a 2f | 0a 20 0a 20 2f 2a 20 55 |NDC__ */|. . /* U|
|000011a0| 73 65 20 70 72 6f 74 6f | 74 79 70 65 73 20 69 6e |se proto|types in|
|000011b0| 20 66 75 6e 63 74 69 6f | 6e 20 64 65 63 6c 61 72 | functio|n declar|
|000011c0| 61 74 69 6f 6e 73 2e 20 | 2a 2f 0a 20 23 64 65 66 |ations. |*/. #def|
|000011d0| 69 6e 65 20 59 59 5f 55 | 53 45 5f 50 52 4f 54 4f |ine YY_U|SE_PROTO|
|000011e0| 53 0a 20 0a 20 2f 2a 20 | 54 68 65 20 22 63 6f 6e |S. . /* |The "con|
|000011f0| 73 74 22 20 73 74 6f 72 | 61 67 65 2d 63 6c 61 73 |st" stor|age-clas|
|00001200| 73 2d 6d 6f 64 69 66 69 | 65 72 20 69 73 20 76 61 |s-modifi|er is va|
|00001210| 6c 69 64 2e 20 2a 2f 0a | 20 23 64 65 66 69 6e 65 |lid. */.| #define|
|00001220| 20 59 59 5f 55 53 45 5f | 43 4f 4e 53 54 0a 20 0a | YY_USE_|CONST. .|
|00001230| 40 40 20 2d 32 32 30 2c | 31 36 20 2b 32 32 34 2c |@@ -220,|16 +224,|
|00001240| 32 31 20 40 40 0a 20 73 | 74 61 74 69 63 20 69 6e |21 @@. s|tatic in|
|00001250| 74 20 79 79 5f 73 74 61 | 72 74 5f 73 74 61 63 6b |t yy_sta|rt_stack|
|00001260| 5f 70 74 72 20 3d 20 30 | 3b 0a 20 73 74 61 74 69 |_ptr = 0|;. stati|
|00001270| 63 20 69 6e 74 20 79 79 | 5f 73 74 61 72 74 5f 73 |c int yy|_start_s|
|00001280| 74 61 63 6b 5f 64 65 70 | 74 68 20 3d 20 30 3b 0a |tack_dep|th = 0;.|
|00001290| 20 73 74 61 74 69 63 20 | 69 6e 74 20 2a 79 79 5f | static |int *yy_|
|000012a0| 73 74 61 72 74 5f 73 74 | 61 63 6b 20 3d 20 30 3b |start_st|ack = 0;|
|000012b0| 0a 20 73 74 61 74 69 63 | 20 76 6f 69 64 20 79 79 |. static| void yy|
|000012c0| 5f 70 75 73 68 5f 73 74 | 61 74 65 20 59 59 5f 50 |_push_st|ate YY_P|
|000012d0| 52 4f 54 4f 28 28 20 69 | 6e 74 20 6e 65 77 5f 73 |ROTO(( i|nt new_s|
|000012e0| 74 61 74 65 20 29 29 3b | 0a 20 73 74 61 74 69 63 |tate ));|. static|
|000012f0| 20 76 6f 69 64 20 79 79 | 5f 70 6f 70 5f 73 74 61 | void yy|_pop_sta|
|00001300| 74 65 20 59 59 5f 50 52 | 4f 54 4f 28 28 20 76 6f |te YY_PR|OTO(( vo|
|00001310| 69 64 20 29 29 3b 0a 20 | 73 74 61 74 69 63 20 69 |id ));. |static i|
|00001320| 6e 74 20 79 79 5f 74 6f | 70 5f 73 74 61 74 65 20 |nt yy_to|p_state |
|00001330| 59 59 5f 50 52 4f 54 4f | 28 28 20 76 6f 69 64 20 |YY_PROTO|(( void |
|00001340| 29 29 3b 0a 20 0a 2b 23 | 69 66 6e 64 65 66 20 5f |));. .+#|ifndef _|
|00001350| 5f 42 4f 52 4c 41 4e 44 | 43 5f 5f 0a 20 73 74 61 |_BORLAND|C__. sta|
|00001360| 74 69 63 20 76 6f 69 64 | 20 2a 79 79 5f 66 6c 65 |tic void| *yy_fle|
|00001370| 78 5f 61 6c 6c 6f 63 20 | 59 59 5f 50 52 4f 54 4f |x_alloc |YY_PROTO|
|00001380| 28 28 20 75 6e 73 69 67 | 6e 65 64 20 69 6e 74 20 |(( unsig|ned int |
|00001390| 29 29 3b 0a 20 73 74 61 | 74 69 63 20 76 6f 69 64 |));. sta|tic void|
|000013a0| 20 2a 79 79 5f 66 6c 65 | 78 5f 72 65 61 6c 6c 6f | *yy_fle|x_reallo|
|000013b0| 63 20 59 59 5f 50 52 4f | 54 4f 28 28 20 76 6f 69 |c YY_PRO|TO(( voi|
|000013c0| 64 20 2a 2c 20 75 6e 73 | 69 67 6e 65 64 20 69 6e |d *, uns|igned in|
|000013d0| 74 20 29 29 3b 0a 2b 23 | 65 6c 73 65 20 2f 2a 20 |t ));.+#|else /* |
|000013e0| 5f 5f 42 4f 52 4c 41 4e | 44 43 5f 5f 20 2a 2f 0a |__BORLAN|DC__ */.|
|000013f0| 2b 73 74 61 74 69 63 20 | 76 6f 69 64 20 2a 79 79 |+static |void *yy|
|00001400| 5f 66 6c 65 78 5f 61 6c | 6c 6f 63 20 59 59 5f 50 |_flex_al|loc YY_P|
|00001410| 52 4f 54 4f 28 28 20 73 | 69 7a 65 5f 74 20 29 29 |ROTO(( s|ize_t ))|
|00001420| 3b 0a 2b 73 74 61 74 69 | 63 20 76 6f 69 64 20 2a |;.+stati|c void *|
|00001430| 79 79 5f 66 6c 65 78 5f | 72 65 61 6c 6c 6f 63 20 |yy_flex_|realloc |
|00001440| 59 59 5f 50 52 4f 54 4f | 28 28 20 76 6f 69 64 20 |YY_PROTO|(( void |
|00001450| 2a 2c 20 73 69 7a 65 5f | 74 20 29 29 3b 0a 2b 23 |*, size_|t ));.+#|
|00001460| 65 6e 64 69 66 20 2f 2a | 20 5f 5f 42 4f 52 4c 41 |endif /*| __BORLA|
|00001470| 4e 44 43 5f 5f 20 2a 2f | 0a 20 73 74 61 74 69 63 |NDC__ */|. static|
|00001480| 20 76 6f 69 64 20 79 79 | 5f 66 6c 65 78 5f 66 72 | void yy|_flex_fr|
|00001490| 65 65 20 59 59 5f 50 52 | 4f 54 4f 28 28 20 76 6f |ee YY_PR|OTO(( vo|
|000014a0| 69 64 20 2a 20 29 29 3b | 0a 20 0a 20 23 64 65 66 |id * ));|. . #def|
|000014b0| 69 6e 65 20 79 79 5f 6e | 65 77 5f 62 75 66 66 65 |ine yy_n|ew_buffe|
|000014c0| 72 20 79 79 5f 63 72 65 | 61 74 65 5f 62 75 66 66 |r yy_cre|ate_buff|
|000014d0| 65 72 0a 20 0a 20 23 64 | 65 66 69 6e 65 20 49 4e |er. . #d|efine IN|
|000014e0| 49 54 49 41 4c 20 30 0a | 20 23 64 65 66 69 6e 65 |ITIAL 0.| #define|
|000014f0| 20 53 45 43 54 32 20 31 | 0a 20 23 64 65 66 69 6e | SECT2 1|. #defin|
|00001500| 65 20 53 45 43 54 32 50 | 52 4f 4c 4f 47 20 32 0a |e SECT2P|ROLOG 2.|
|00001510| 0a 0a 0a 0a 0a 2d 2d 2d | 20 66 6c 65 78 64 65 66 |.....---| flexdef|
|00001520| 2e 68 09 54 75 65 20 4a | 61 6e 20 30 34 20 31 34 |.h.Tue J|an 04 14|
|00001530| 3a 33 33 3a 31 34 20 31 | 39 39 34 0a 2b 2b 2b 20 |:33:14 1|994.+++ |
|00001540| 2e 2e 2f 66 6c 65 78 64 | 65 66 2e 68 09 57 65 64 |../flexd|ef.h.Wed|
|00001550| 20 53 65 70 20 32 38 20 | 31 38 3a 35 33 3a 34 34 | Sep 28 |18:53:44|
|00001560| 20 31 39 39 34 0a 40 40 | 20 2d 32 37 2c 31 34 20 | 1994.@@| -27,14 |
|00001570| 2b 32 37 2c 32 35 20 40 | 40 0a 20 20 2a 2f 0a 20 |+27,25 @|@. */. |
|00001580| 0a 20 2f 2a 20 40 28 23 | 29 20 24 48 65 61 64 65 |. /* @(#|) $Heade|
|00001590| 72 3a 20 66 6c 65 78 64 | 65 66 2e 68 2c 76 20 31 |r: flexd|ef.h,v 1|
|000015a0| 2e 32 20 39 34 2f 30 31 | 2f 30 34 20 31 34 3a 33 |.2 94/01|/04 14:3|
|000015b0| 33 3a 31 34 20 76 65 72 | 6e 20 45 78 70 20 24 20 |3:14 ver|n Exp $ |
|000015c0| 28 4c 42 4c 29 20 2a 2f | 0a 20 0a 20 23 69 6e 63 |(LBL) */|. . #inc|
|000015d0| 6c 75 64 65 20 3c 73 74 | 64 69 6f 2e 68 3e 0a 20 |lude <st|dio.h>. |
|000015e0| 23 69 6e 63 6c 75 64 65 | 20 3c 63 74 79 70 65 2e |#include| <ctype.|
|000015f0| 68 3e 0a 20 0a 2b 23 69 | 66 64 65 66 20 5f 5f 42 |h>. .+#i|fdef __B|
|00001600| 4f 52 4c 41 4e 44 43 5f | 5f 0a 2b 23 69 6e 63 6c |ORLANDC_|_.+#incl|
|00001610| 75 64 65 20 3c 6d 61 6c | 6c 6f 63 2e 68 3e 0a 2b |ude <mal|loc.h>.+|
|00001620| 0a 2b 23 70 72 61 67 6d | 61 20 77 61 72 6e 20 2d |.+#pragm|a warn -|
|00001630| 70 72 6f 0a 2b 23 70 72 | 61 67 6d 61 20 77 61 72 |pro.+#pr|agma war|
|00001640| 6e 20 2d 72 63 68 0a 2b | 23 70 72 61 67 6d 61 20 |n -rch.+|#pragma |
|00001650| 77 61 72 6e 20 2d 75 73 | 65 0a 2b 23 70 72 61 67 |warn -us|e.+#prag|
|00001660| 6d 61 20 77 61 72 6e 20 | 2d 61 75 73 0a 2b 23 70 |ma warn |-aus.+#p|
|00001670| 72 61 67 6d 61 20 77 61 | 72 6e 20 2d 70 61 72 0a |ragma wa|rn -par.|
|00001680| 2b 23 70 72 61 67 6d 61 | 20 77 61 72 6e 20 2d 70 |+#pragma| warn -p|
|00001690| 69 61 0a 2b 0a 2b 23 65 | 6e 64 69 66 20 2f 2a 20 |ia.+.+#e|ndif /* |
|000016a0| 5f 5f 42 4f 52 4c 41 4e | 44 43 5f 5f 20 2a 2f 0a |__BORLAN|DC__ */.|
|000016b0| 20 23 69 66 20 48 41 56 | 45 5f 53 54 52 49 4e 47 | #if HAV|E_STRING|
|000016c0| 5f 48 0a 20 23 69 6e 63 | 6c 75 64 65 20 3c 73 74 |_H. #inc|lude <st|
|000016d0| 72 69 6e 67 2e 68 3e 0a | 20 23 65 6c 73 65 0a 20 |ring.h>.| #else. |
|000016e0| 23 69 6e 63 6c 75 64 65 | 20 3c 73 74 72 69 6e 67 |#include| <string|
|000016f0| 73 2e 68 3e 0a 20 23 65 | 6e 64 69 66 0a 20 0a 20 |s.h>. #e|ndif. . |
|00001700| 23 69 66 20 5f 5f 53 54 | 44 43 5f 5f 0a 40 40 20 |#if __ST|DC__.@@ |
|00001710| 2d 36 30 37 2c 31 39 20 | 2b 36 31 38 2c 32 39 20 |-607,19 |+618,29 |
|00001720| 40 40 0a 20 20 2a 2f 0a | 20 0a 20 65 78 74 65 72 |@@. */.| . exter|
|00001730| 6e 20 63 68 61 72 20 6e | 6d 73 74 72 5b 4d 41 58 |n char n|mstr[MAX|
|00001740| 4c 49 4e 45 5d 3b 0a 20 | 65 78 74 65 72 6e 20 69 |LINE];. |extern i|
|00001750| 6e 74 20 73 65 63 74 6e | 75 6d 2c 20 6e 75 6d 6d |nt sectn|um, numm|
|00001760| 74 2c 20 68 73 68 63 6f | 6c 2c 20 64 66 61 65 71 |t, hshco|l, dfaeq|
|00001770| 6c 2c 20 6e 75 6d 65 70 | 73 2c 20 65 70 73 32 2c |l, numep|s, eps2,|
|00001780| 20 6e 75 6d 5f 72 65 61 | 6c 6c 6f 63 73 3b 0a 20 | num_rea|llocs;. |
|00001790| 65 78 74 65 72 6e 20 69 | 6e 74 20 74 6d 70 75 73 |extern i|nt tmpus|
|000017a0| 65 73 2c 20 74 6f 74 6e | 73 74 2c 20 70 65 61 6b |es, totn|st, peak|
|000017b0| 70 61 69 72 73 2c 20 6e | 75 6d 75 6e 69 71 2c 20 |pairs, n|umuniq, |
|000017c0| 6e 75 6d 64 75 70 2c 20 | 68 73 68 73 61 76 65 3b |numdup, |hshsave;|
|000017d0| 0a 20 65 78 74 65 72 6e | 20 69 6e 74 20 6e 75 6d |. extern| int num|
|000017e0| 5f 62 61 63 6b 69 6e 67 | 5f 75 70 2c 20 62 6f 6c |_backing|_up, bol|
|000017f0| 5f 6e 65 65 64 65 64 3b | 0a 20 0a 2b 23 69 66 6e |_needed;|. .+#ifn|
|00001800| 64 65 66 20 5f 5f 42 4f | 52 4c 41 4e 44 43 5f 5f |def __BO|RLANDC__|
|00001810| 0a 20 76 6f 69 64 20 2a | 61 6c 6c 6f 63 61 74 65 |. void *|allocate|
|00001820| 5f 61 72 72 61 79 20 50 | 52 4f 54 4f 28 28 69 6e |_array P|ROTO((in|
|00001830| 74 2c 20 69 6e 74 29 29 | 3b 0a 20 76 6f 69 64 20 |t, int))|;. void |
|00001840| 2a 72 65 61 6c 6c 6f 63 | 61 74 65 5f 61 72 72 61 |*realloc|ate_arra|
|00001850| 79 20 50 52 4f 54 4f 28 | 28 76 6f 69 64 2a 2c 20 |y PROTO(|(void*, |
|00001860| 69 6e 74 2c 20 69 6e 74 | 29 29 3b 0a 2b 23 65 6c |int, int|));.+#el|
|00001870| 73 65 20 2f 2a 20 5f 5f | 42 4f 52 4c 41 4e 44 43 |se /* __|BORLANDC|
|00001880| 5f 5f 20 2a 2f 0a 2b 76 | 6f 69 64 20 2a 61 6c 6c |__ */.+v|oid *all|
|00001890| 6f 63 61 74 65 5f 61 72 | 72 61 79 20 50 52 4f 54 |ocate_ar|ray PROT|
|000018a0| 4f 28 28 73 69 7a 65 5f | 74 2c 20 73 69 7a 65 5f |O((size_|t, size_|
|000018b0| 74 29 29 3b 0a 2b 76 6f | 69 64 20 2a 72 65 61 6c |t));.+vo|id *real|
|000018c0| 6c 6f 63 61 74 65 5f 61 | 72 72 61 79 20 50 52 4f |locate_a|rray PRO|
|000018d0| 54 4f 28 28 76 6f 69 64 | 2a 2c 20 73 69 7a 65 5f |TO((void|*, size_|
|000018e0| 74 2c 20 73 69 7a 65 5f | 74 29 29 3b 0a 2b 23 65 |t, size_|t));.+#e|
|000018f0| 6e 64 69 66 20 2f 2a 20 | 5f 5f 42 4f 52 4c 41 4e |ndif /* |__BORLAN|
|00001900| 44 43 5f 5f 20 2a 2f 0a | 20 0a 2b 23 69 66 6e 64 |DC__ */.| .+#ifnd|
|00001910| 65 66 20 5f 5f 42 4f 52 | 4c 41 4e 44 43 5f 5f 0a |ef __BOR|LANDC__.|
|00001920| 20 76 6f 69 64 20 2a 66 | 6c 65 78 5f 61 6c 6c 6f | void *f|lex_allo|
|00001930| 63 20 50 52 4f 54 4f 28 | 28 75 6e 73 69 67 6e 65 |c PROTO(|(unsigne|
|00001940| 64 20 69 6e 74 29 29 3b | 0a 20 76 6f 69 64 20 2a |d int));|. void *|
|00001950| 66 6c 65 78 5f 72 65 61 | 6c 6c 6f 63 20 50 52 4f |flex_rea|lloc PRO|
|00001960| 54 4f 28 28 76 6f 69 64 | 2a 2c 20 75 6e 73 69 67 |TO((void|*, unsig|
|00001970| 6e 65 64 20 69 6e 74 29 | 29 3b 0a 2b 23 65 6c 73 |ned int)|);.+#els|
|00001980| 65 20 2f 2a 20 5f 5f 42 | 4f 52 4c 41 4e 44 43 5f |e /* __B|ORLANDC_|
|00001990| 5f 20 2a 2f 0a 2b 76 6f | 69 64 20 2a 66 6c 65 78 |_ */.+vo|id *flex|
|000019a0| 5f 61 6c 6c 6f 63 20 50 | 52 4f 54 4f 28 28 73 69 |_alloc P|ROTO((si|
|000019b0| 7a 65 5f 74 29 29 3b 0a | 2b 76 6f 69 64 20 2a 66 |ze_t));.|+void *f|
|000019c0| 6c 65 78 5f 72 65 61 6c | 6c 6f 63 20 50 52 4f 54 |lex_real|loc PROT|
|000019d0| 4f 28 28 76 6f 69 64 2a | 2c 20 73 69 7a 65 5f 74 |O((void*|, size_t|
|000019e0| 29 29 3b 0a 2b 23 65 6e | 64 69 66 20 2f 2a 20 5f |));.+#en|dif /* _|
|000019f0| 5f 42 4f 52 4c 41 4e 44 | 43 5f 5f 20 2a 2f 0a 20 |_BORLAND|C__ */. |
|00001a00| 76 6f 69 64 20 66 6c 65 | 78 5f 66 72 65 65 20 50 |void fle|x_free P|
|00001a10| 52 4f 54 4f 28 28 76 6f | 69 64 2a 29 29 3b 0a 20 |ROTO((vo|id*));. |
|00001a20| 0a 20 23 64 65 66 69 6e | 65 20 61 6c 6c 6f 63 61 |. #defin|e alloca|
|00001a30| 74 65 5f 69 6e 74 65 67 | 65 72 5f 61 72 72 61 79 |te_integ|er_array|
|00001a40| 28 73 69 7a 65 29 20 5c | 0a 20 09 28 69 6e 74 20 |(size) \|. .(int |
|00001a50| 2a 29 20 61 6c 6c 6f 63 | 61 74 65 5f 61 72 72 61 |*) alloc|ate_arra|
|00001a60| 79 28 20 73 69 7a 65 2c | 20 73 69 7a 65 6f 66 28 |y( size,| sizeof(|
|00001a70| 20 69 6e 74 20 29 20 29 | 0a 20 0a 20 23 64 65 66 | int ) )|. . #def|
|00001a80| 69 6e 65 20 72 65 61 6c | 6c 6f 63 61 74 65 5f 69 |ine real|locate_i|
|00001a90| 6e 74 65 67 65 72 5f 61 | 72 72 61 79 28 61 72 72 |nteger_a|rray(arr|
|00001aa0| 61 79 2c 73 69 7a 65 29 | 20 5c 0a 20 09 28 69 6e |ay,size)| \. .(in|
|00001ab0| 74 20 2a 29 20 72 65 61 | 6c 6c 6f 63 61 74 65 5f |t *) rea|llocate_|
|00001ac0| 61 72 72 61 79 28 20 28 | 76 6f 69 64 20 2a 29 20 |array( (|void *) |
|00001ad0| 61 72 72 61 79 2c 20 73 | 69 7a 65 2c 20 73 69 7a |array, s|ize, siz|
|00001ae0| 65 6f 66 28 20 69 6e 74 | 20 29 20 29 0a 40 40 20 |eof( int| ) ).@@ |
|00001af0| 2d 37 37 32 2c 31 35 20 | 2b 37 39 33 2c 31 39 20 |-772,15 |+793,19 |
|00001b00| 40 40 0a 20 2f 2a 20 57 | 72 69 74 65 20 6f 75 74 |@@. /* W|rite out|
|00001b10| 20 6f 6e 65 20 73 65 63 | 74 69 6f 6e 20 6f 66 20 | one sec|tion of |
|00001b20| 74 68 65 20 73 6b 65 6c | 65 74 6f 6e 20 66 69 6c |the skel|eton fil|
|00001b30| 65 2e 20 2a 2f 0a 20 65 | 78 74 65 72 6e 20 76 6f |e. */. e|xtern vo|
|00001b40| 69 64 20 73 6b 65 6c 6f | 75 74 20 50 52 4f 54 4f |id skelo|ut PROTO|
|00001b50| 28 28 76 6f 69 64 29 29 | 3b 0a 20 0a 20 2f 2a 20 |((void))|;. . /* |
|00001b60| 4f 75 74 70 75 74 20 61 | 20 79 79 5f 74 72 61 6e |Output a| yy_tran|
|00001b70| 73 5f 69 6e 66 6f 20 73 | 74 72 75 63 74 75 72 65 |s_info s|tructure|
|00001b80| 2e 20 2a 2f 0a 20 65 78 | 74 65 72 6e 20 76 6f 69 |. */. ex|tern voi|
|00001b90| 64 20 74 72 61 6e 73 69 | 74 69 6f 6e 5f 73 74 72 |d transi|tion_str|
|00001ba0| 75 63 74 5f 6f 75 74 20 | 50 52 4f 54 4f 28 28 69 |uct_out |PROTO((i|
|00001bb0| 6e 74 2c 20 69 6e 74 29 | 29 3b 0a 20 0a 20 2f 2a |nt, int)|);. . /*|
|00001bc0| 20 4f 6e 6c 79 20 6e 65 | 65 64 65 64 20 77 68 65 | Only ne|eded whe|
|00001bd0| 6e 20 75 73 69 6e 67 20 | 63 65 72 74 61 69 6e 20 |n using |certain |
|00001be0| 62 72 6f 6b 65 6e 20 76 | 65 72 73 69 6f 6e 73 20 |broken v|ersions |
|00001bf0| 6f 66 20 62 69 73 6f 6e | 20 74 6f 20 62 75 69 6c |of bison| to buil|
|00001c00| 64 20 70 61 72 73 65 2e | 63 2e 20 2a 2f 0a 2b 23 |d parse.|c. */.+#|
|00001c10| 69 66 6e 64 65 66 20 5f | 5f 42 4f 52 4c 41 4e 44 |ifndef _|_BORLAND|
|00001c20| 43 5f 5f 0a 20 65 78 74 | 65 72 6e 20 76 6f 69 64 |C__. ext|ern void|
|00001c30| 20 2a 79 79 5f 66 6c 65 | 78 5f 78 6d 61 6c 6c 6f | *yy_fle|x_xmallo|
|00001c40| 63 20 50 52 4f 54 4f 28 | 28 20 69 6e 74 20 29 29 |c PROTO(|( int ))|
|00001c50| 3b 0a 2b 23 65 6c 73 65 | 20 2f 2a 20 5f 5f 42 4f |;.+#else| /* __BO|
|00001c60| 52 4c 41 4e 44 43 5f 5f | 20 2a 2f 0a 2b 65 78 74 |RLANDC__| */.+ext|
|00001c70| 65 72 6e 20 76 6f 69 64 | 20 2a 79 79 5f 66 6c 65 |ern void| *yy_fle|
|00001c80| 78 5f 78 6d 61 6c 6c 6f | 63 20 50 52 4f 54 4f 28 |x_xmallo|c PROTO(|
|00001c90| 28 20 73 69 7a 65 5f 74 | 20 29 29 3b 0a 2b 23 65 |( size_t| ));.+#e|
|00001ca0| 6e 64 69 66 20 2f 2a 20 | 5f 5f 42 4f 52 4c 41 4e |ndif /* |__BORLAN|
|00001cb0| 44 43 5f 5f 20 2a 2f 0a | 20 0a 20 2f 2a 20 53 65 |DC__ */.| . /* Se|
|00001cc0| 74 20 61 20 72 65 67 69 | 6f 6e 20 6f 66 20 6d 65 |t a regi|on of me|
|00001cd0| 6d 6f 72 79 20 74 6f 20 | 30 2e 20 2a 2f 0a 20 65 |mory to |0. */. e|
|00001ce0| 78 74 65 72 6e 20 76 6f | 69 64 20 7a 65 72 6f 5f |xtern vo|id zero_|
|00001cf0| 6f 75 74 20 50 52 4f 54 | 4f 28 28 63 68 61 72 20 |out PROT|O((char |
|00001d00| 2a 2c 20 69 6e 74 29 29 | 3b 0a 20 0a 20 0a 20 2f |*, int))|;. . . /|
|00001d10| 2a 20 66 72 6f 6d 20 66 | 69 6c 65 20 6e 66 61 2e |* from f|ile nfa.|
|00001d20| 63 20 2a 2f 0a 0a 0a 0a | 0a 0a 23 23 23 23 23 23 |c */....|..######|
|00001d30| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001d40| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001d50| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001d60| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00001d70| 23 23 23 23 23 23 23 23 | 23 0a 23 20 4d 61 6b 65 |########|#.# Make|
|00001d80| 66 69 6c 65 20 66 6f 72 | 20 66 6c 65 78 20 32 2e |file for| flex 2.|
|00001d90| 34 2e 37 20 77 69 74 68 | 20 42 6f 72 6c 61 6e 64 |4.7 with| Borland|
|00001da0| 20 43 2f 43 2b 2b 20 76 | 65 72 73 69 6f 6e 20 34 | C/C++ v|ersion 4|
|00001db0| 2e 30 32 0a 23 0a 23 20 | 54 68 69 73 20 77 69 6c |.02.#.# |This wil|
|00001dc0| 6c 20 70 72 6f 62 61 62 | 6c 79 20 6e 65 65 64 20 |l probab|ly need |
|00001dd0| 74 6f 20 62 65 20 61 64 | 6a 75 73 74 65 64 20 66 |to be ad|justed f|
|00001de0| 6f 72 20 79 6f 75 72 20 | 65 78 69 73 74 69 6e 67 |or your |existing|
|00001df0| 20 6c 65 78 65 72 2f 70 | 61 72 73 65 72 0a 23 20 | lexer/p|arser.# |
|00001e00| 67 65 6e 65 72 61 74 6f | 72 73 2e 20 20 53 65 65 |generato|rs. See|
|00001e10| 20 64 65 66 69 6e 69 74 | 69 6f 6e 73 20 66 6f 72 | definit|ions for|
|00001e20| 20 46 4c 45 58 20 61 6e | 64 20 59 41 43 43 20 6e | FLEX an|d YACC n|
|00001e30| 65 61 72 20 74 68 65 20 | 62 6f 74 74 6f 6d 20 6f |ear the |bottom o|
|00001e40| 66 20 74 68 65 0a 23 20 | 6d 61 6b 65 66 69 6c 65 |f the.# |makefile|
|00001e50| 2e 0a 23 0a 23 20 43 6f | 70 79 20 69 6e 69 74 73 |..#.# Co|py inits|
|00001e60| 63 61 6e 2e 63 20 74 6f | 20 73 63 61 6e 2e 63 20 |can.c to| scan.c |
|00001e70| 74 6f 20 6d 61 6b 65 20 | 79 6f 75 72 20 66 69 72 |to make |your fir|
|00001e80| 73 74 20 65 78 65 63 75 | 74 61 62 6c 65 2e 20 20 |st execu|table. |
|00001e90| 41 66 74 65 72 20 74 68 | 61 74 2c 0a 23 20 79 6f |After th|at,.# yo|
|00001ea0| 75 20 6d 61 79 20 63 68 | 6f 6f 73 65 20 74 6f 20 |u may ch|oose to |
|00001eb0| 74 72 79 20 61 6c 74 65 | 72 6e 61 74 65 20 63 6f |try alte|rnate co|
|00001ec0| 6d 70 72 65 73 73 69 6f | 6e 20 6f 70 74 69 6f 6e |mpressio|n option|
|00001ed0| 73 20 66 6f 72 20 79 6f | 75 72 20 65 76 65 72 79 |s for yo|ur every|
|00001ee0| 64 61 79 0a 23 20 66 6c | 65 78 20 65 78 65 63 75 |day.# fl|ex execu|
|00001ef0| 74 61 62 6c 65 2e 0a 23 | 0a 23 20 54 68 69 73 20 |table..#|.# This |
|00001f00| 77 69 6c 6c 20 62 75 69 | 6c 64 20 66 6c 65 78 20 |will bui|ld flex |
|00001f10| 77 69 74 68 20 74 68 65 | 20 6c 61 72 67 65 20 6d |with the| large m|
|00001f20| 6f 64 65 6c 2e 20 20 44 | 6f 6e 27 74 20 75 73 65 |odel. D|on't use|
|00001f30| 20 68 75 67 65 2c 20 62 | 75 74 20 69 66 20 79 6f | huge, b|ut if yo|
|00001f40| 75 0a 23 20 66 65 65 6c | 20 6c 69 6b 65 20 65 78 |u.# feel| like ex|
|00001f50| 70 65 72 69 6d 65 6e 74 | 69 6e 67 20 77 69 74 68 |periment|ing with|
|00001f60| 20 6f 74 68 65 72 20 6d | 6f 64 65 6c 73 2c 20 70 | other m|odels, p|
|00001f70| 6f 73 74 20 79 6f 75 72 | 20 73 75 63 63 65 73 73 |ost your| success|
|00001f80| 20 73 74 6f 72 69 65 73 | 20 74 6f 20 0a 23 20 63 | stories| to .# c|
|00001f90| 6f 6d 70 2e 63 6f 6d 70 | 69 6c 65 72 73 2c 20 4f |omp.comp|ilers, O|
|00001fa0| 4b 3f 0a 23 0a 23 20 54 | 68 69 73 20 6d 61 6b 65 |K?.#.# T|his make|
|00001fb0| 66 69 6c 65 20 64 6f 65 | 73 20 2a 6e 6f 74 2a 20 |file doe|s *not* |
|00001fc0| 69 6d 70 6c 65 6d 65 6e | 74 20 74 68 65 20 62 69 |implemen|t the bi|
|00001fd0| 67 20 74 65 73 74 69 6e | 67 20 66 6f 75 6e 64 20 |g testin|g found |
|00001fe0| 69 6e 20 22 6d 61 6b 65 | 66 69 6c 65 2e 69 6e 22 |in "make|file.in"|
|00001ff0| 2e 0a 23 0a 23 20 49 20 | 61 6c 73 6f 20 61 73 73 |..#.# I |also ass|
|00002000| 75 6d 65 20 74 68 65 20 | 61 76 61 69 6c 61 62 69 |ume the |availabi|
|00002010| 6c 69 74 79 20 6f 66 20 | 73 65 64 20 61 6e 64 20 |lity of |sed and |
|00002020| 74 68 65 20 67 6e 75 20 | 66 69 6c 65 20 75 74 69 |the gnu |file uti|
|00002030| 6c 69 74 69 65 73 20 6f | 6e 20 74 68 65 0a 23 20 |lities o|n the.# |
|00002040| 73 79 73 74 65 6d 20 2d | 20 74 68 65 79 27 72 65 |system -| they're|
|00002050| 20 72 65 61 64 69 6c 79 | 20 61 76 61 69 6c 61 62 | readily| availab|
|00002060| 6c 65 2c 20 73 6f 20 69 | 66 20 79 6f 75 20 64 6f |le, so i|f you do|
|00002070| 6e 27 74 20 68 61 76 65 | 20 74 68 65 6d 2c 20 77 |n't have| them, w|
|00002080| 68 79 20 6e 6f 74 3f 0a | 23 20 20 20 20 20 20 20 |hy not?.|# |
|00002090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 3c 67 72 69 6e 3e | | <grin>|
|000020d0| 0a 23 0a 23 20 54 68 65 | 20 72 65 73 75 6c 74 69 |.#.# The| resulti|
|000020e0| 6e 67 20 67 65 6e 65 72 | 61 74 65 64 20 6c 65 78 |ng gener|ated lex|
|000020f0| 65 72 20 28 74 68 65 20 | 72 65 61 6c 20 67 6f 61 |er (the |real goa|
|00002100| 6c 2c 20 72 69 67 68 74 | 3f 29 20 77 69 6c 6c 20 |l, right|?) will |
|00002110| 63 6f 6d 70 69 6c 65 0a | 23 20 28 61 6e 64 20 72 |compile.|# (and r|
|00002120| 75 6e 20 6e 69 63 65 6c | 79 2c 20 74 6f 6f 29 20 |un nicel|y, too) |
|00002130| 61 73 20 61 20 2e 63 20 | 66 69 6c 65 2c 20 61 73 |as a .c |file, as|
|00002140| 20 77 65 6c 6c 20 61 73 | 20 62 65 69 6e 67 20 69 | well as| being i|
|00002150| 6e 63 6c 75 64 65 64 20 | 73 75 63 68 20 61 73 0a |ncluded |such as.|
|00002160| 23 20 65 78 74 65 72 6e | 20 22 43 22 20 7b 20 23 |# extern| "C" { #|
|00002170| 69 6e 63 6c 75 64 65 20 | 22 6c 65 78 79 79 63 22 |include |"lexyyc"|
|00002180| 20 7d 20 69 6e 20 61 20 | 2e 63 70 6c 75 73 70 6c | } in a |.cpluspl|
|00002190| 75 73 20 66 69 6c 65 2e | 0a 23 0a 23 23 23 23 23 |us file.|.#.#####|
|000021a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000021b0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000021c0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000021d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000021e0| 23 23 23 23 23 23 23 23 | 23 23 0a 0a 44 45 42 55 |########|##..DEBU|
|000021f0| 47 20 3d 20 31 0a 0a 2e | 61 75 74 6f 64 65 70 65 |G = 1...|autodepe|
|00002200| 6e 64 0a 0a 61 6c 6c 3a | 09 66 6c 65 78 2e 65 78 |nd..all:|.flex.ex|
|00002210| 65 0a 0a 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |e..#####|########|
|00002220| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002230| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002240| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002250| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002260| 23 23 0a 23 0a 23 20 73 | 74 61 6e 64 61 72 64 20 |##.#.# s|tandard |
|00002270| 75 74 69 6c 69 74 69 74 | 69 65 73 3f 20 68 61 2e |utilitit|ies? ha.|
|00002280| 0a 23 0a 0a 43 43 09 3d | 20 62 63 63 0a 43 50 50 |.#..CC.=| bcc.CPP|
|00002290| 20 20 20 20 20 3d 20 62 | 63 63 0a 0a 23 23 23 23 | = b|cc..####|
|000022a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000022b0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000022c0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000022d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000022e0| 23 23 23 23 23 23 23 23 | 23 23 23 0a 23 0a 0a 4d |########|###.#..M|
|000022f0| 4f 44 45 4c 09 3d 20 6c | 0a 0a 21 69 66 20 24 28 |ODEL.= l|..!if $(|
|00002300| 44 45 42 55 47 29 20 3d | 3d 20 31 0a 21 6d 65 73 |DEBUG) =|= 1.!mes|
|00002310| 73 61 67 65 20 42 75 69 | 6c 64 69 6e 67 20 77 69 |sage Bui|lding wi|
|00002320| 74 68 20 64 65 62 75 67 | 2e 0a 64 65 62 75 67 43 |th debug|..debugC|
|00002330| 6f 6d 70 69 6c 65 20 3d | 20 2d 76 0a 64 65 62 75 |ompile =| -v.debu|
|00002340| 67 4c 69 6e 6b 20 3d 20 | 2f 76 0a 21 65 6c 73 65 |gLink = |/v.!else|
|00002350| 0a 21 6d 65 73 73 61 67 | 65 20 42 75 69 6c 64 69 |.!messag|e Buildi|
|00002360| 6e 67 20 77 69 74 68 6f | 75 74 20 64 65 62 75 67 |ng witho|ut debug|
|00002370| 2e 0a 64 65 62 75 67 43 | 6f 6d 70 69 6c 65 20 3d |..debugC|ompile =|
|00002380| 0a 64 65 62 75 67 4c 69 | 6e 6b 20 3d 0a 21 65 6e |.debugLi|nk =.!en|
|00002390| 64 69 66 0a 0a 4c 4f 41 | 44 45 52 09 3d 20 63 30 |dif..LOA|DER.= c0|
|000023a0| 24 28 4d 4f 44 45 4c 29 | 2e 6f 62 6a 0a 4c 49 42 |$(MODEL)|.obj.LIB|
|000023b0| 53 09 3d 20 63 24 28 4d | 4f 44 45 4c 29 2e 6c 69 |S.= c$(M|ODEL).li|
|000023c0| 62 0a 4c 49 4e 4b 46 4c | 41 47 53 20 3d 20 24 28 |b.LINKFL|AGS = $(|
|000023d0| 64 65 62 75 67 4c 69 6e | 6b 29 0a 0a 44 41 54 41 |debugLin|k)..DATA|
|000023e0| 53 45 47 09 3d 20 2d 64 | 63 20 2d 46 66 0a 53 69 |SEG.= -d|c -Ff.Si|
|000023f0| 7a 65 4f 50 54 09 3d 20 | 2d 4f 73 20 2d 47 2d 0a |zeOPT.= |-Os -G-.|
|00002400| 44 65 66 69 6e 65 73 20 | 3d 20 2d 44 53 48 4f 52 |Defines |= -DSHOR|
|00002410| 54 5f 46 49 4c 45 5f 4e | 41 4d 45 53 3d 31 20 2d |T_FILE_N|AMES=1 -|
|00002420| 44 48 41 56 45 5f 53 54 | 52 49 4e 47 5f 48 3d 31 |DHAVE_ST|RING_H=1|
|00002430| 0a 0a 43 4f 4d 4d 4f 4e | 09 3d 20 2d 41 20 2d 63 |..COMMON|.= -A -c|
|00002440| 20 2d 6d 24 28 4d 4f 44 | 45 4c 29 20 24 28 53 69 | -m$(MOD|EL) $(Si|
|00002450| 7a 65 4f 50 54 29 20 24 | 28 44 41 54 41 53 45 47 |zeOPT) $|(DATASEG|
|00002460| 29 20 24 28 44 65 66 69 | 6e 65 73 29 20 24 28 64 |) $(Defi|nes) $(d|
|00002470| 65 62 75 67 43 6f 6d 70 | 69 6c 65 29 0a 43 46 4c |ebugComp|ile).CFL|
|00002480| 41 47 53 20 20 3d 20 2d | 6f 24 40 20 24 28 43 4f |AGS = -|o$@ $(CO|
|00002490| 4d 4d 4f 4e 29 0a 43 43 | 46 4c 41 47 53 20 20 3d |MMON).CC|FLAGS =|
|000024a0| 20 2d 6f 24 40 20 24 28 | 43 4f 4d 4d 4f 4e 29 20 | -o$@ $(|COMMON) |
|000024b0| 2d 50 63 63 0a 0a 23 23 | 23 23 23 23 23 23 23 23 |-Pcc..##|########|
|000024c0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000024d0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000024e0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000024f0| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002500| 23 23 23 23 23 0a 0a 2e | 53 55 46 46 49 58 45 53 |#####...|SUFFIXES|
|00002510| 3a 09 2e 63 63 0a 0a 2e | 63 63 2e 6f 62 6a 3a 0a |:..cc...|cc.obj:.|
|00002520| 09 24 28 43 50 50 29 20 | 24 28 43 43 46 4c 41 47 |.$(CPP) |$(CCFLAG|
|00002530| 53 29 20 24 3c 0a 0a 2e | 63 2e 6f 62 6a 3a 0a 09 |S) $<...|c.obj:..|
|00002540| 24 28 43 50 50 29 20 24 | 28 43 46 4c 41 47 53 29 |$(CPP) $|(CFLAGS)|
|00002550| 20 24 3c 0a 0a 23 23 23 | 23 23 23 23 23 23 23 23 | $<..###|########|
|00002560| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002570| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002580| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002590| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000025a0| 23 23 23 23 0a 23 0a 23 | 20 73 6f 75 72 63 65 20 |####.#.#| source |
|000025b0| 26 20 6f 62 6a 65 63 74 | 20 66 69 6c 65 73 0a 23 |& object| files.#|
|000025c0| 0a 0a 53 52 43 20 3d 09 | 63 63 6c 2e 63 20 64 66 |..SRC =.|ccl.c df|
|000025d0| 61 2e 63 20 65 63 73 2e | 63 20 67 65 6e 2e 63 20 |a.c ecs.|c gen.c |
|000025e0| 6d 61 69 6e 2e 63 20 6d | 69 73 63 2e 63 20 6e 66 |main.c m|isc.c nf|
|000025f0| 61 2e 63 20 70 61 72 73 | 65 2e 63 20 5c 0a 09 73 |a.c pars|e.c \..s|
|00002600| 63 61 6e 2e 63 20 73 79 | 6d 2e 63 20 74 62 6c 63 |can.c sy|m.c tblc|
|00002610| 6d 70 2e 63 20 79 79 6c | 65 78 2e 63 20 73 6b 65 |mp.c yyl|ex.c ske|
|00002620| 6c 2e 63 0a 0a 4f 42 4a | 53 20 3d 20 24 28 53 52 |l.c..OBJ|S = $(SR|
|00002630| 43 3a 2e 63 3d 2e 6f 62 | 6a 29 0a 0a 6f 62 6a 65 |C:.c=.ob|j)..obje|
|00002640| 63 74 73 3a 09 24 28 4f | 42 4a 53 29 0a 09 40 65 |cts:.$(O|BJS)..@e|
|00002650| 63 68 6f 20 24 28 4f 42 | 4a 53 29 0a 0a 23 23 23 |cho $(OB|JS)..###|
|00002660| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002670| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002680| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002690| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|000026a0| 23 23 23 23 23 23 23 23 | 23 23 23 23 0a 23 0a 23 |########|####.#.#|
|000026b0| 20 45 78 65 63 75 74 61 | 62 6c 65 0a 23 0a 0a 66 | Executa|ble.#..f|
|000026c0| 6c 65 78 2e 65 78 65 3a | 20 20 20 20 20 20 24 28 |lex.exe:| $(|
|000026d0| 4f 42 4a 53 29 0a 09 74 | 6c 69 6e 6b 20 24 28 4c |OBJS)..t|link $(L|
|000026e0| 49 4e 4b 46 4c 41 47 53 | 29 20 40 26 26 21 0a 24 |INKFLAGS|) @&&!.$|
|000026f0| 28 4c 4f 41 44 45 52 29 | 20 24 2a 2a 0a 24 26 2e |(LOADER)| $**.$&.|
|00002700| 65 78 65 0a 24 26 2e 6d | 61 70 0a 24 28 4c 49 42 |exe.$&.m|ap.$(LIB|
|00002710| 53 29 0a 21 0a 0a 23 20 | 0a 23 23 23 23 23 23 23 |S).!..# |.#######|
|00002720| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002730| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002740| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002750| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002760| 23 23 23 23 23 23 23 23 | 0a 23 0a 23 20 4c 65 78 |########|.#.# Lex|
|00002770| 20 66 69 6c 65 73 0a 23 | 0a 0a 46 4c 45 58 09 3d | files.#|..FLEX.=|
|00002780| 20 2e 5c 66 6c 65 78 0a | 46 4c 45 58 5f 46 4c 41 | .\flex.|FLEX_FLA|
|00002790| 47 53 20 3d 20 2d 69 73 | 74 0a 0a 73 63 61 6e 2e |GS = -is|t..scan.|
|000027a0| 63 3a 20 73 63 61 6e 2e | 6c 0a 09 24 28 46 4c 45 |c: scan.|l..$(FLE|
|000027b0| 58 29 20 24 28 46 4c 45 | 58 5f 46 4c 41 47 53 29 |X) $(FLE|X_FLAGS)|
|000027c0| 20 73 63 61 6e 2e 6c 20 | 3e 73 63 61 6e 2e 74 6d | scan.l |>scan.tm|
|000027d0| 70 0a 09 73 65 64 20 73 | 2c 5c 22 24 28 73 72 63 |p..sed s|,\"$(src|
|000027e0| 64 69 72 29 2f 73 63 61 | 6e 2e 6c 5c 22 2c 5c 22 |dir)/sca|n.l\",\"|
|000027f0| 73 63 61 6e 2e 6c 5c 22 | 2c 20 3c 73 63 61 6e 2e |scan.l\"|, <scan.|
|00002800| 74 6d 70 20 3e 73 63 61 | 6e 2e 63 0a 09 40 72 6d |tmp >sca|n.c..@rm|
|00002810| 20 73 63 61 6e 2e 74 6d | 70 0a 0a 23 23 23 23 23 | scan.tm|p..#####|
|00002820| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002830| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002840| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002850| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002860| 23 23 23 23 23 23 23 23 | 23 23 0a 23 0a 23 20 59 |########|##.#.# Y|
|00002870| 41 43 43 20 66 69 6c 65 | 73 0a 23 0a 0a 59 41 43 |ACC file|s.#..YAC|
|00002880| 43 09 3d 20 2e 5c 62 69 | 73 6f 6e 0a 59 46 4c 41 |C.= .\bi|son.YFLA|
|00002890| 47 53 20 20 3d 20 2d 76 | 64 79 6c 0a 0a 70 61 72 |GS = -v|dyl..par|
|000028a0| 73 65 2e 63 3a 20 70 61 | 72 73 65 2e 79 0a 09 24 |se.c: pa|rse.y..$|
|000028b0| 28 59 41 43 43 29 20 2d | 79 64 6c 20 70 61 72 73 |(YACC) -|ydl pars|
|000028c0| 65 2e 79 0a 09 40 73 65 | 64 20 22 2f 65 78 74 65 |e.y..@se|d "/exte|
|000028d0| 72 6e 20 63 68 61 72 2e | 2a 6d 61 6c 6c 6f 63 2f |rn char.|*malloc/|
|000028e0| 64 22 20 3c 79 5f 74 61 | 62 2e 63 20 3e 70 61 72 |d" <y_ta|b.c >par|
|000028f0| 73 65 2e 63 0a 09 40 72 | 6d 20 2d 66 20 79 5f 74 |se.c..@r|m -f y_t|
|00002900| 61 62 2e 63 0a 09 40 6d | 76 20 79 5f 74 61 62 2e |ab.c..@m|v y_tab.|
|00002910| 68 20 70 61 72 73 65 2e | 68 0a 0a 23 0a 23 20 65 |h parse.|h..#.# e|
|00002920| 6e 64 20 4d 61 6b 65 66 | 69 6c 65 0a 23 0a 23 23 |nd Makef|ile.#.##|
|00002930| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002940| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002950| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002960| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 23 23 23 |########|########|
|00002970| 23 23 23 23 23 23 23 23 | 23 23 23 23 23 0a 20 0a |########|#####. .|
+--------+-------------------------+-------------------------+--------+--------+